<%@page contentType="text/html; charset=utf-8" 
pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:useBean id="b" class="skyinline.j2ee.basic.projectv5.model.BoardVO" />
<jsp:setProperty property="*" name="b" />
<c:set var="b" value="${ bdao.viewBoard(b) }" />

		<style type="text/css">
			
			form { width: 600px;margin: 0 auto; }
		</style>

		<div id="content">
			<h2>게시판 수정하기</h2>
			<form action="?action=updateok" 
				method="post" 	name="board">
				<div>제목 <input type="text" name="title" 
				value="${ b.title }" /></div>
				<div>작성자 <input type="text" name="uid" 
				value="${ b.uid }"/></div>
				<div>본문 <textarea name="contents" 
						cols="60" rows="15">${ b.contents }</textarea></div>
				<div><button type="submit">수정완료</button></div>
				<input type="hidden" name="bdno" 
				value="${ b.bdno }" />
			</form>
		</div><!-- // content -->




